<%-- 
    Document   : index2
    Created on : 2015-9-24, 10:56:53
    Author     : Fire
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script src="plugins/react/react.js" type="text/javascript"></script>
        <!--<script src="plugins/react/browser.min.js" type="text/javascript"></script>-->
    </head>
    <body>
        <div id="example"></div>
        <!--<script src="jsx/index.js" type="text/jsx"></script>-->
        <script src="plugins/build/index2.js" ></script>
<!--        <script type="text/babel">
            var names=['Alice','Emily','Kate']
            React.render(
                    <div>
                    {
                        names.map(
                            function (name){
                                return <div> Hello,{name}</div>
                            }
                        )
                    }
                    </div>,
            document.getElementById('example')
//            <h1>Hello, world! wo bu</h1>,
//            document.getElementById('example')
            );-->
        </script>
    </body>
</html>
